axios.get('test2')
                .then(function (response) {
                    document.getElementById("star").innerHTML = "今日开心指数"+response.data.result;

                    console.log(response.data.result)
                }).catch(function (error) {
                    console.log(error)
                })